package me.zingon.demo;

import me.zingon.core.context.SummerContext;
import me.zingon.core.context.annotation.SComponent;
import me.zingon.core.context.annotation.SService;

public class SummerApplication {

    public static void main(String[] args) throws ClassNotFoundException {
        SummerContext summerContext=new SummerContext("classpath:summer.yml");
        System.out.println(summerContext.getBean("testBean01"));
        System.out.println(summerContext.getBean("testBean02"));
        System.out.println(summerContext.getBean("testBean03"));
        System.out.println(summerContext.getBean("myName"));
    }
}
